'use strict';function _ti(a){return{x:a.left,y:a.top,w:a.width,h:a.height}}function _kk(a,b=1){if(10<=_Hf){const c=7.2*b;b*=.3;a=Object.assign({},a);a.x+=c;a.y+=b;a.w-=2*c;a.h-=c+b}return a}function _7e(a){let b=Math.round(a.x),c=Math.round(a.y),d=Math.round(a.w);a=Math.round(a.h);return 60>_Ok?{left:b||-1,top:c||-1,width:d+(b?0:1),height:a+(c?0:1)}:{left:b,top:c,width:d,height:a}}function _Tj(a){return{x:a.x+a.w/2,y:a.y+a.h/2}}
function _qs(a,b){return Math.sqrt((a.x-b.x)*(a.x-b.x)+(a.y-b.y)*(a.y-b.y))}function _9u(a,b){return b.x<=a.x&&a.x<=b.x+b.w&&b.y<=a.y&&a.y<=b.y+b.h}function _Wt(a,b){return a.left<=b.right&&b.left<=a.right&&a.top<=b.bottom&&b.top<=a.bottom}function _ue(a,b){let c={x:Math.max(a.x,b.x),y:Math.max(a.y,b.y)};return c.add({w:Math.min(a.x+a.w,b.x+b.w)-c.x,h:Math.min(a.y+a.h,b.y+b.h)-c.y})}
function _9o(a,b){let c={x:Math.min(a.x,b.x),y:Math.min(a.y,b.y)};c.w=Math.max(a.x+a.w,b.x+b.w)-c.x;c.h=Math.max(a.y+a.h,b.y+b.h)-c.y;return c}function _Fw(a){let b=0;0>=a.w&&0>=a.h?b=Math.sqrt(a.w*a.w+a.h*a.h):0>=a.w?b=-a.w:0>=a.h&&(b=-a.h);return-b||a.w*a.h}function _9d(a,b){return{cols:1,rows:1}.add(a[b]||a["*"])};
